clear all
use "Data\W5 (Finaldata Post-Imputation).dta"

*****Table 1 Regression Results of Confucian Values and Minimum Support for Democracy (MSFD)******
reg Democratic_Suitability Family_Values Social_Values Political_Values, robust
est store m1

reg Democratic_Suitability Family_Values Social_Values Political_Values i.country i.Year, robust
est store m2

reg Democratic_Suitability Family_Values Social_Values Political_Values Country_Economic_Evaluation Family_Economic_Evaluation Social_Capital Political_Interest Political_Efficiency Election_Participation Internet_Use gender age education residence employment family_status household_income i.country i.Year , robust
est store m3

reg Democratic_Preferability Family_Values Social_Values Political_Values i.country i.Year, robust
est store m4

reg Democratic_Preferability Family_Values Social_Values Political_Values, robust
est store m5

reg Democratic_Preferability Family_Values Social_Values Political_Values Country_Economic_Evaluation Family_Economic_Evaluation Social_Capital Political_Interest Political_Efficiency Election_Participation Internet_Use gender age education residence employment family_status household_income i.country i.Year, robust
est store m6

esttab m1 m2 m3 m4 m5 m6 using "Results/Tables/Table 1 Regression Results of Confucian Values and Minimum Support for Democracy (MSFD).rtf", title("Table 1 Regression Results of Confucian Values and Minimum Support for Democracy (MSFD)") se mtitle(BaselineModel_1 BaselineModel_2 BaselineModel_3 BaselineModel_4 BaselineModel_5 BaselineModel_6) keep(Family_Values Social_Values Political_Values _cons) replace b(%12.3f) t(%12.2f) scalars (country Year N r2_a) star(* 0.1 ** 0.05 *** 0.01) nogap compress nonotes note("Note: Models (1) - (3) use Democratic Suitability as the dependent variable, while Models (4) - (6) use Democratic Preferability as the dependent variable. Columns 1 and 4 include only the core independent variables, columns 2 and 5 add fixed effects, and columns 3 and 6 incorporate control variables. The estimator is OLS with fixed effects. The unit of analysis is the individual. Robust standard errors in parentheses. *p < 0.1, **p < 0.05, ***p < 0.01.") 
